package com.stx.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.stx.dao.CuDao;
import com.stx.dao.StudentDao;
import com.stx.domain.Absent;
import com.stx.domain.Student;
import com.stx.service.CuService;

@Service
public class CuServiceImpl implements CuService {
	@Resource
	private CuDao cd;

	public int addAbsent(Absent absent,Student student) {
		return cd.addAbsent(absent,student);
	}

	public List<Absent> selectAbsentUploading() {
		return cd.selectAbsentUploading();
	}

	public void absentDelete(int id) {
		cd.absentDelete(id);
	}
}
